<template>
	<view class="home">
		

		<scroll-view scroll-y="true" scroll-x class="navscroll">
			<view class="item" @click="useradd()">新会员卡</view>
			<view class="item" @click="uservisit()">会员回访</view>
			<view class="item">预约管理</view>
			
		</scroll-view>

		<view class="content">
			<view class="row">内容1</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				title: 'Hello'
			}
		},
		onLoad() {

		},
		methods: {
			useradd(){
				uni.navigateTo({
					url:"/pages/user/useradd/useradd"
				})
			},
			uservisit(){
				uni.navigateTo({
					url:"/pages/user/uservisit/uservisit"
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.navscroll{
		height: 100rpx;
		background: #F7F8FA;
		white-space: nowrap;
	
		.item{
			border: 1px solid black;
			font-size: 40rpx;
			display: inline-block;
			line-height: 100rpx;
			padding: 0 30rpx;
			color:#333;
		

		}
		
	}
</style>
